home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 June: Reference Library / Dev.CD Jun 95 / Dev.CD Jun 95.toast / What's New? / New System Software Extensions / QuickDraw 3D ß / Programming / SampleCode / Modeller ƒ / Modeller_file.h < prev    next >
Encoding:
Text File  |  1995-03-06  |  946 b   |  33 lines  |  [TEXT/MPS ]

  1. // Modeller_file.h
  2. //
  3. // file related function prototypes for the modeller application
  4. //
  5. // Modification History
  6. //
  7. //    11/26/94        nick        initial cut - symantec proto_helper app, add defines
  8.  
  9.  
  10. #ifndef _MODELLER_DRAG_H_
  11. #define _MODELLER_DRAG_H_
  12.  
  13. // wrappers 
  14. void         DoNewDocument(void);
  15. OSErr         DoOpenFile(FSSpec *theFile);
  16. void         DoOpenDocument(DocumentPtr theDocument);
  17. Boolean     DoSaveAsDocument(DocumentPtr theDocument);
  18. Boolean     DidSaveDocument(DocumentPtr theDocument);
  19. void         DoRevertDocument(DocumentPtr theDocument);
  20. short         ReadDocumentFile(DocumentPtr theDocument, TQ3Boolean isText) ;
  21. PicHandle     OpenPICTFile( FSSpec *theFile ) ;
  22.  
  23. // metafile i/o routines
  24. TQ3Status     Modeller_ReadScene(    TQ3FileObject    file, 
  25.                                     short            isText, 
  26.                                     TQ3SharedObject    *viewHints, 
  27.                                     TQ3Object        *model) ;
  28.                                     
  29. void         Modeller_WriteScene(        TQ3FileObject        file,
  30.                                         short                textMode,
  31.                                         DocumentPtr         theDocument) ;
  32.  
  33. #endif